package xyz.xtt.pay.service;

import java.math.BigDecimal;

import com.baomidou.mybatisplus.extension.service.IService;

import xyz.xtt.pay.entity.TblPayLimit;
import xyz.xtt.user.client.response.UserInfoResponse;

/**
 * <p>
 * 用户交易行为限制表 服务类
 * </p>
 *
 * @author dale
 * @since 2025-02-18
 */
public interface ITblPayLimitService extends IService<TblPayLimit> {


    void preUseAndCheckPayLimit(UserInfoResponse buyUser, Long sellUserId, BigDecimal realTotalPrice);

    void cancelUserPayLimit(Long buyUserId, Long sellUserId, BigDecimal canceledMoney, Long orderCreateTime);
}
